<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/page/common/commonConfig.jsp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>

<head>
    <base href="<%=basePath%>">
    <title>单位信息标签页</title>
    <script src="<%=basePath%>component/layout.js"></script>
    <script src="<%=basePath%>component/tabbar.js"></script>
	<script>
	var unitId = '${param.unitId}';
	var dhxLayout = createLayoutNormal('1C',false,true);
	
	function operateTabbar(tabbar){
		tabbar.addTab("a1", "单位信息", "130px");
		tabbar.addTab("a2", "单位详细", "130px");
		tabbar.addTab("a3", "下级单位列表", "130px");
		tabbar.addTab("a4", "用户注册邀请码", "130px");
		tabbar.setContentHref("a1", ("<%=basePath%>system-unit/UnitAction!unitQueryForEdit.action?unitId="+unitId) );
		tabbar.setContentHref("a2", ("<%=basePath%>system-unit/UnitAction!unitInfoQueryForEdit.action?unitId="+unitId) );
		tabbar.setContentHref("a3", ("<%=basePath%>page/system/unit/unit_list.jsp?superUnitId="+unitId) );
		tabbar.setContentHref("a4", ("<%=basePath%>system-unit/UnitAction!userRegisterNumQueryForEdit.action?unitId="+unitId) );
		tabbar.setTabActive("a1");
	}
	
	function bodyInit(){
		createTabbarFromDHXLayoutCell(dhxLayout.cells('a'),operateTabbar);
	}
	</script>
</head>
	
<body onload="bodyInit();">
	<div id="tab" style="width:100%; height:100%"></div>
</body>

</html>
